﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OnHook.Domain.Enums;

namespace OnHook.Business.Vo.Order
{
    /// <summary>
    /// 创建订单结果Dto
    /// </summary>
    public class CreateOrderResultVo
    {
        /// <summary>
        /// 订单Id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderId { get; set; } = string.Empty;

        /// <summary>
        /// 付款方式
        /// </summary>
        public EnumPayType PayType { get; set; }

    }

    /// <summary>
    /// 创建订单结果Dto
    /// </summary>
    public class CreateOrderResultVo<T> : CreateOrderResultVo
    {
        /// <summary>
        /// 返回结果数据
        /// </summary>
        public T? ResultData { get; set; }
    }
}
